package com.jming.tenement.front.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author jinming.zhang
 * @version 0.0.1
 * @date 2022/04/07
 */
@RestController
@RequestMapping("/test")
@Api(value = "/test", tags = "测试接口")
public class TestController {

    @GetMapping("/test")
    @ApiOperation(value = "测试方法", notes = "测试方法", produces = "application/json", httpMethod = "GET", response = String.class)
    public String test() {

        return "test success";
    }

}
